<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="/common/_container :: htmlhead"></head>
<body>
	<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>ReportTemplate查询</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                            	<div class="input-group">
								    <div class="input-group-btn" >
								        <button data-toggle="smsSign" class="btn btn-white dropdown-toggle "  type="button">签名
								        </button>
								    </div>
								    <input type="text" class="form-control" id="codeNum" placeholder="请输入签名" />
								</div>
                            </div>
                             <div class="col-sm-3">
                            	<div class="input-group">
								    <div class="input-group-btn" >
								        <button data-toggle="smsCode" class="btn btn-white dropdown-toggle "  type="button">短信模板编码
								        </button>
								    </div>
								    <input type="text" class="form-control" id="codeNum" placeholder="请输入短信模板编码" />
								</div>
                            </div>
                             <div class="col-sm-3">
                            	<div class="input-group">
								    <div class="input-group-btn" >
								        <button data-toggle="smsTemplate" class="btn btn-white dropdown-toggle "  type="button">模板名称
								        </button>
								    </div>
								    <input type="text" class="form-control" id="codeNum" placeholder="请输入模板名称" />
								</div>
                            </div>
                            <div class="col-sm-3">
                            	<div class="input-group">
								    <div class="input-group-btn">
								        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
								           	 是否成功
								        </button>
								    </div>
								    <select class="form-control" id="isSuccess">
								        <option value = "">---请选择----</option>
								        <option value="0">否</option>
								        <option value="1">是</option>								     
								    </select>
								</div>
                            </div>
                            <div class="col-sm-3">
                            	<div class="input-group">
								    <div class="input-group-btn">
								        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
								           	 短信类型
								        </button>
								    </div>
								    <select class="form-control" id="smsClzz">
								        <option value = "">---请选择----</option>
								        <option value="0">单发</option>
								        <option value="1">群发</option>								     
								    </select>
								</div>
                            </div>
                            <div class="col-sm-3">
                            
                            
                            <shiro:hasPermission name="report_template_add">
	                            <button type="button" class="btn btn-primary" onclick="ReportTemplate.add()" >
								    <i class="fa fa-search"></i>&nbsp;添加
								</button>
								</shiro:hasPermission>
								
								<shiro:hasPermission name="report_template_edit">
	                            <button type="button" class="btn btn-primary button-margin" onclick="ReportTemplate.edit()" >
								    <i class="fa fa-trash"></i>&nbsp;修改
								</button>       
								</shiro:hasPermission>
								
								<shiro:hasPermission name="report_template_view">
								<button type="button" class="btn btn-primary button-margin" onclick="ReportTemplate.delete()" >
								    <i class="fa fa-search"></i>&nbsp;删除
								</button>			
								</shiro:hasPermission>
								
								<shiro:hasPermission name="report_template_delete">													
	                            <button type="button" class="btn btn-primary button-margin" onclick="ReportTemplate.view()" >
								    <i class="fa fa-trash"></i>&nbsp;查看详情
								</button>   
								</shiro:hasPermission>                      
                            </div>
                        </div>
                        <table id="ReportTemplateTable" data-mobile-responsive="true" data-click-to-select="true">
						    <thead>
						        <tr>
						            <th data-field="selectItem" data-checkbox="true"></th>
						        </tr>
						    </thead>
						</table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script th:src="@{/static/modular/base/reportTemplate/reportTemplate.js}"></script>
</body>

</html>


